const express = require('express')
const router = express.Router()

const donateRecordControllers = require('../controllers/donateRecordControllers')

// 合法性校验
const expressJoi = require('../schemas//express-joi')
const { reg_login_schema } = require('../schemas/userSchema')


// 列表
router.post('/pageList', donateRecordControllers.list)
// 添加
router.post('/add', donateRecordControllers.add)
// 删除
router.post('/delete', donateRecordControllers.delete)
// 更新
router.post('/update', donateRecordControllers.update)

module.exports = router
